package com.example.factory.api.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Lei Tao
 */
@Configuration
@EntityScan({"com.example.factory.core.domain","com.example.factory.api"})
@EnableJpaRepositories({"com.example.factory.core.repository","com.example.factory.api"})
@EnableTransactionManagement
public class SpringJpaConfig {
}
